package com.sdkj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdkj.pojo.SetmealCheckgroup;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SetmealCheckgroupMapper  extends BaseMapper<SetmealCheckgroup> {

    @Select("SELECT checkgroup_id FROM setmealcheckgroup WHERE setmeal_id = #{id}")
    public List<Integer> getGroupIdBySetmealId(@Param("id") Integer id);
}
